package com.ruoyi.biz.demo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 企业人员对象 biz_person
 * 
 * @author Fei.Cong
 * @date 2024-06-05
 */
@TableName(value = "biz_person")
public class BizPerson extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 检测人员姓名 */
    @Excel(name = "检测人员姓名")
    private String userName;

    /** 性别 */
    @Excel(name = "性别")
    private Integer sex;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 身份证号码 */
    @Excel(name = "身份证号码")
    private String cardNo;

    /** 出生日期 */
    @Excel(name = "出生日期")
    private String birthday;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 家庭住址 */
    @Excel(name = "家庭住址")
    private String companyAddress;

    /** 单位住址 */
    @Excel(name = "单位住址")
    private String homeAddress;

    /** 照片路径 */
    private String face;

    /** 照片base64 */
    private String faceBase;

    /** 人脸识别 */
    private String photo;

    /** 证书名称 */
    private String certificateName;

    /** 证书编号 */
    private String certificateNo;

    /** 人员类型 */
    @Excel(name = "人员类型")
    private Integer type;

    /** 是否有效 */
    @Excel(name = "是否有效")
    private Integer valid;

    /** 人员核验状态 */
    private Integer checkStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setSex(Integer sex) 
    {
        this.sex = sex;
    }

    public Integer getSex() 
    {
        return sex;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setCardNo(String cardNo) 
    {
        this.cardNo = cardNo;
    }

    public String getCardNo() 
    {
        return cardNo;
    }
    public void setBirthday(String birthday) 
    {
        this.birthday = birthday;
    }

    public String getBirthday() 
    {
        return birthday;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setCompanyAddress(String companyAddress) 
    {
        this.companyAddress = companyAddress;
    }

    public String getCompanyAddress() 
    {
        return companyAddress;
    }
    public void setHomeAddress(String homeAddress) 
    {
        this.homeAddress = homeAddress;
    }

    public String getHomeAddress() 
    {
        return homeAddress;
    }
    public void setFace(String face) 
    {
        this.face = face;
    }

    public String getFace() 
    {
        return face;
    }
    public void setFaceBase(String faceBase) 
    {
        this.faceBase = faceBase;
    }

    public String getFaceBase() 
    {
        return faceBase;
    }
    public void setPhoto(String photo) 
    {
        this.photo = photo;
    }

    public String getPhoto() 
    {
        return photo;
    }
    public void setCertificateName(String certificateName) 
    {
        this.certificateName = certificateName;
    }

    public String getCertificateName() 
    {
        return certificateName;
    }
    public void setCertificateNo(String certificateNo) 
    {
        this.certificateNo = certificateNo;
    }

    public String getCertificateNo() 
    {
        return certificateNo;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setValid(Integer valid) 
    {
        this.valid = valid;
    }

    public Integer getValid() 
    {
        return valid;
    }
    public void setCheckStatus(Integer checkStatus) 
    {
        this.checkStatus = checkStatus;
    }

    public Integer getCheckStatus() 
    {
        return checkStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userName", getUserName())
            .append("sex", getSex())
            .append("password", getPassword())
            .append("cardNo", getCardNo())
            .append("birthday", getBirthday())
            .append("phone", getPhone())
            .append("companyAddress", getCompanyAddress())
            .append("homeAddress", getHomeAddress())
            .append("face", getFace())
            .append("faceBase", getFaceBase())
            .append("photo", getPhoto())
            .append("certificateName", getCertificateName())
            .append("certificateNo", getCertificateNo())
            .append("type", getType())
            .append("valid", getValid())
            .append("checkStatus", getCheckStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
